@extends('admin.layouts.app')

@section('content')

    @component('admin.slots.form', ['slot_title' => '管理员', 'back_url' => route('user.index')])
        {!! Form::model($user, ['url' => route('user.update', ['id' => $user->id]), 'method' => 'put', 'class' => 'form-horizontal col-sm-6'])!!}
        @include('admin.user.form')
        {!! Form::close() !!}
    @endcomponent

@endsection